package com.fudan.adse.mbg.mapper;

import com.fudan.adse.domain.po.RoleResource;
import com.fudan.adse.domain.po.RoleResourceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RoleResourceMapper {
    long countByExample(RoleResourceExample example);

    int deleteByExample(RoleResourceExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(RoleResource row);

    int insertSelective(RoleResource row);

    List<RoleResource> selectByExample(RoleResourceExample example);

    RoleResource selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("row") RoleResource row, @Param("example") RoleResourceExample example);

    int updateByExample(@Param("row") RoleResource row, @Param("example") RoleResourceExample example);

    int updateByPrimaryKeySelective(RoleResource row);

    int updateByPrimaryKey(RoleResource row);
}